SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0f8daae1be0974ebb4ace07935836c33fe4a48774630abe0e335458c3fd23e9' 
  AND token = 'SwUIoMoCJvkPJd+PBpr5TmyivmYuXPdehQpNEGhBHTY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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