SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2162f386e5187f43e9e8c911d76d1d2782f4f6151574c8203e5f2e3d2302bc2e' 
  AND token = '4yBBM88W65XinegG9ICmptl+UtKncLUE5Cjp51Bzsx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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