SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4576112b7ace464cb7056367b177aa28ce675bab12d29969cd91167c470278bb' 
  AND token = 'VOzGhFmyEydNtTogqUNj//RtuyuOexfcC2mw5+SgDKM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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