SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17a80502003cbdbd36de010053196788f9cb9c3e3b27f9c1033e5150431335fe' 
  AND token = '2kgXyrvwNi9liidh2FDvpWfwBLbTgCoTEpRhnPE3OpY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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