SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31230aa00fea566eb4abca9858836b2d57a08d139d9463bf74fcc1e66999330b' 
  AND token = '86DlS4x4tnafdTYaZlwOESrvfNyErmsgVQNgDhzaFWk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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