SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '32477550ac7d3c1912a462afb01f6821e35b4b41509dbdf236770cb2a26e30b6' 
  AND token = 'U/oAoQD5Zc1GdMEK9s9aTmGZjS9a9mwWHd/8yPH3xvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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