SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0bc7a63e62be0aa7884f9cdb9b4df0fa1f76e5656773bc8205d41a4f269c362e' 
  AND token = 'CxdmwLb2MI+ChZlkJWz0OjPDMXUExN1ym/Hd6rcGdM0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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