SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5312c82cbe75e5e17c51b1c95bb1b8b0bf09f5b6a8565e757c55753cf218f60' 
  AND token = 'nHtz6iKAJlUGxPMn/8ZFjL3uG3YxSTkj4J1IG15YwJk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}