SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e8463bb95d93035b0c0fd62ae74b780f6a547a9b3c8fbaef7e8b813df237fe3' 
  AND token = 'eEoHQJTqZWbR7bhlDLNO2VtfcCmKru17u7+8OmhCdj0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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