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

Query time 0.00030

JSON explain

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