SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '661d86beda3e1c010a8ecd7f0dfa923022ac47a1bb0fea1c04d9115062b30979' 
  AND token = 'TNS4aa4Hs5N5P3KGs1hows1uTjM1bFaagOSBQ2sgQq8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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