SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65899444ba350b159b8289fc1f6a81d7fd479c1b7f4f13cb661051b49bc02f44' 
  AND token = 'WhuNuUuN1qO4nx4EtSRIfyJAKGSTS2POL5Xn3+Rvdqo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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