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

Query time 0.00024

JSON explain

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