SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2b1f1c0b4204b44f5af4439f7245cda5c4bd5effa52f9aa1d3d21a52e026f4e' 
  AND token = 'ooVBGX1/fFZdMK4OKiMztDkZdPhPV9z3f6tCyx8MX24=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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