SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2508a29f67ce20e943e16460217274b813eca57768dc4209735c7c9ac5d98ded' 
  AND token = '0iCzP3Bx/oLIWDCVG6EchgB0DHna2cpnKVSI825lCFs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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