SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '229fda10a87309b4da3f4a66f81bf77e40c8fb7ce5bcc1beb5d4d2773d7048e0' 
  AND token = 'XSlfd+Z2te35nr5ORHRX8zKDO8TwBtgY85ORj/p38wA=' 
  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"
    }
  }
}