SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be7e7b6c2610c0dbb7c7e5b3706e615045c466a0f78e6a94946eb3070607fc9f' 
  AND token = 'hI4Oq0qqHlUqvIfao1APXTdAv0R3+zxSSEWmgqFaKoc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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