SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa24647973ce605615d78e31dd7d074f31b297da201958ca6075c4bad3e61f65' 
  AND token = 'HArslQ2AI18GYP0Mo9f3f0WES3zam9YGWGVAYPvtrDI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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