SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d574ba35e1470f00fa9176753c760f1adf4222a76bd1aeb21045849979085bd' 
  AND token = 'NPSP1eE4QtRdE8mjrOoEG9GXU0dHjW5nliafb71eG1Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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