SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd51d55e937951bf3861725afea70bce0d37cd2d31f58e316b8696b882de05fcf' 
  AND token = 'pNnrmf9EnsSTDqzViDhQScWtR51RJwd0uRIkWvp6lL4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}