SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba3f9f54a10898955ab6924847a7d80c84912032e92f7b181e78ed5f372cc772' 
  AND token = 'np78dQlzsuxmLVSpGzy95EmmbF1cofCWMK9Ib4/nJic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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