SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef2ee85934f8a90833c22969c4dbc4aa4c954c93204b90a4784246c4bc0192da' 
  AND token = '6r3xWw6nMB2XW7UKcOFH6C9w4+jFYzdToymnOTegJV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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