SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '14856e70315eaf671cd83325713fa67fd3a747537c7481fdbb92bb450825ba0c' 
  AND token = 'JEofpEJI0DkxHc767twwDPtYY9oEjjq7LGt7ffopo44=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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