SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ab170859f54e9561e1e4a4353f49fda449ee28af369b4e1cd01e99f095a7688' 
  AND token = 'cbe+AsSXMB9k1j6jqK21Ft+hco2BtqZky9N203VFapY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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