SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd52404aed880371ee5cd4e51c4a7dc7b1e79057609515236cf3ea9e25ae17313' 
  AND token = 'T2SyPtzcpfsl0R0aiVx+laLwfoG+gSanXf2DA8BULo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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