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

Query time 0.00040

JSON explain

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