SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3cb31d4f66dde2c5e2443f401b618bbc82af4e472ebb231477be472c558ac88e' 
  AND token = 'IP2w+sBPFawPTOO8Vzg23wdWRGbsYZAtx8sT2WNp4rQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}