SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bea2eb9e92be9f0d6346bcd66334f259520b9dbddfd2796dc5fa9c6cdf41e79c' 
  AND token = '2IuUtpHTwtERLGPa0+Yj7wz47thk+AFfeLJQNxZZkJg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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