SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0cde8916b5e6ed5d233f8dbe1876d3c181b40f158f6df12daf599f41bdd892f' 
  AND token = 'nsbRWPnW/HTiyHtshjk36V3hmXIcRuzORNNvLlly4N8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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