SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9997444d4428eaf3dfd26916fa1dc83080223532d5b42aee44b48145e452be14' 
  AND token = 'zesPXeBgLr2rTprZA+kNvF1qLsNlFM868TYDB54wtnQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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