SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9defd71aee58a55d70495e7929dc1b2096e3f0277c109af67b0a38e96dd6224' 
  AND token = 'XHp468wWJmf4G9qU54SmlVhMtilkg1UypaO0nj3TxU4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}